package com.day17.FileOutputStream;

import java.io.FileOutputStream;
import java.io.IOException;

public class FileOutputStreamDemo02 {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos=new FileOutputStream("myByteStream\\fos.txt");
        byte[] bys="你好".getBytes();
        fos.write(bys,1,3);
        fos.close();

    }
}
